package ooday04;

public  class Fish extends Animal implements Swim{
    Fish(String name,String color,int age){
        super(name,color,age);
    }
    void eat(){
        System.out.println("它叫"+name+"今年"+age+"岁了，一身"+color+"正在小鱼小虾");
    }
      public void Swim(){
        System.out.println(name+"在划澡");
    }
}
